package com.jxstyle.core.util;

public class StringUtil {

	public static boolean isEmpty(String str) {
		return str == null || str.equals("");
	}

	public static boolean isOneEmpty(String... strs) {
		for (String string : strs) {
			if (isEmpty(string)) {
				return true;
			}
		}
		return false;
	}

	public static boolean isNotEmpty(String str) {
		return str != null && !str.equals("");
	}

	public static boolean isNotOneEmpty(String... strs) {
		for (String string : strs) {
			if (isEmpty(string)) {
				return false;
			}
		}
		return true;
	}
}
